// <com.woyouqiu.Copyright>
// --------------------------------------------------------------
// <copyright>上海有求网络科技有限公司 2015</copyright>
// <Solution>MyCompany.MyProject</Solution>
// <Project>MyCompany.MyProject.Core</Project>
// <FileName>MicroClass.cs</FileName>
// <CreateTime>2017-04-22 22:23</CreateTime>
// <Author>何苗</Author>
// <Email>hemiao@woyouqiu.com</Email>
// <log date="2017-04-22 22:23" version="00001">创建</log>
// --------------------------------------------------------------
// </com.woyouqiu.Copyright>

using System;
using System.ComponentModel.DataAnnotations;
using Abp.Domain.Entities.Auditing;

namespace Vecen.BangChuang.BangChuang.Classes {
    public class MicroClass: CreationAuditedEntity {
        /// <summary>
        /// 课程内容缩略图附件类型
        /// </summary>
        public const string ClassVideoThumbnailAttachmentType = "MicroClassVideoThumbnail";

        /// <summary>
        /// 课程内容附件类型
        /// </summary>
        public const string ClassVideoAttachmentType = "MicroClassVideo";

        /// <summary>
        /// 分组ID
        /// </summary>
        public int GroupId { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        [StringLength(64)]
        public string Title { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        [StringLength(512)]
        public string Description { get; set; }

        /// <summary>
        /// 上课日期
        /// </summary>
        public DateTime ClassTime { get; set; }
    }
}